@extends('web.common.main')
@section('headmeta')
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="format-detection" content="telephone=no">
@endsection
@section('container')
<div class="v3-contain">
    <!-- <div class="v3-list">
        <div class="v3-breadcrumb">
            @forelse($currentBreadMenuList as $key=>$value)
                <a class="current" href="{{$breadMenuList[$value]['url']}}">{{$breadMenuList[$value]['name']}}</a>
                @if($key != count($currentBreadMenuList)-1)
                    <span>&gt;&gt;</span>
                @endif
            @empty

            @endforelse
            @if($tabMenuInfo)
                <span>&gt;&gt;</span>
                <a class="current" href="{{$tabMenuInfo['url']}}">{{$tabMenuInfo['name']}}</a>
            @endif
        </div> -->
        <div class="v3-view_title">
            {{$dataInfo['title']}}
        </div>
        @if($paramList)
            <ul class="v3-view_field">
                @forelse($paramList as $key=>$value)
                    @if(isset($dataInfo['props'][$key]))
                        @if($typeFlag == 'tsa05')
                            @if(isset($dataInfo['props'][3]))
                                <li>
                                    <div class="key">发布日期</div>
                                    <div class="value">{{date('Y-m-d',(int)($dataInfo['props'][3]/1000))}}</div>
                                </li>
                            @endif
                            @if(isset($dataInfo['props'][3]))
                                @if($_GET['flag'] == 2)
                                    <li>
                                        <div class="key">来源</div>
                                        <div class="value">{{$dataInfo['props'][4]}}</div>
                                    </li>
                                @elseif($_GET['flag'] == 3)
                                    <li>
                                        <div class="key">相关行业</div>
                                        <div class="value">{{$dataInfo['props'][4]}}</div>
                                    </li>
                                @endif

                            @endif
                            @if(isset($dataInfo['props'][2]) && $dataInfo['props'][2])
                                <li>
                                    <div class="key">作者</div>
                                    <div class="value">{{$dataInfo['props'][2]}}</div>
                                </li>
                            @endif
                            @if($dataInfo['props'][1])
                                <li>
                                    <div class="key">{{$value}}</div>
                                    <div class="val" style="margin-left:0px;"><a href="{{$dataInfo['props'][1]}}" target="_blank">{{$dataInfo['props'][0]}}</a></div>
                                </li>
                            @endif
                        @else
                            <li>
                                <div class="key">{{$value}}</div>
                                <div class="val">{{$dataInfo['props'][$key]?$dataInfo['props'][$key]:'[暂无内容]'}}</div>
                            </li>
                        @endif
                    @endif


                @empty
                @endforelse
            </ul>
        @endif

        <div class="v3-view_content">
            {!!$dataInfo['content']!!}
        </div>
    </div>
</div>
@endsection
